package icu.lookyousmileface;

import icu.lookyousmileface.apo1.IUserService;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * @author starrysky
 * @title: AopMaster
 * @projectName spring5
 * @description: TODO
 * @date 2021/2/300:26
 */
public class AopMaster {
    public static void main(String[] args) {
        ApplicationContext context = new ClassPathXmlApplicationContext("applicationContext.xml");
        IUserService userService = (IUserService) context.getBean("userServiceImpl");
        userService.add();
        userService.delete();
        userService.update();
        userService.select();
    }
}
